package com.zhuojy.equity.mall.admin.common.entity.po.salary;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.Data;
/**
 * 加班规则(OvertimeRules)表实体类
 *
 * @author makejava
 * @since 2024-03-27 10:59:22
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("overtime_rules")
public class OvertimeRulesPO implements Serializable {

    private static final long serialVersionUID = -5627188697474210197L;
    @TableField(exist = false)
    private String a = "1";
    /**
    * 主键id
    */
            @TableId(value = "id", type = IdType.AUTO)
        private Long overtimeId;

        /**
    * 计薪规则 1:固定基数 2:引用变量
    */
            private Integer payrollRules;

        /**
    * 与薪资表关联id
    */
            private Long salaryId;

        /**
    * 加班基数比例 按百分比来计算
    */
            private Integer overtimeBase;

        /**
    * 计薪基数 如果选择固定基数按照基本工资计算
    */
            private Integer salaryBase;

        /**
    * 工作日比例 按照百分比来
    */
        @TableField("proportion_of_working_days")
            private Integer proportionOfWorkingDays;

        /**
    * 休息日比例
    */
        @TableField("proportion_of_days_off")
            private Integer proportionOfDaysOff;

        /**
    * 节假日比例
    */
        @TableField("proportion_of_holidays")
            private Integer proportionOfHolidays;

}
